home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-09-27 | 1.5 KB | 66 lines |
- #Makefile for the amiga port of origami
- #Version 1.6.92.1
- #
- SC= sc
- SLINK= slink
- #
- #FLAGS1 : compiler options for compiler behaviour
- FLAGS1= DATA=FAR ANSI NOICONS STRCON WARNVOIDRETURN IGNORE=104 STKEXT
- #
- #FLAGS2 : include options
- FLAGS2= IDIR=origami:
- #
- #FLAGS3 : define options
- FLAGS3= DEF=MOUSY DEF=KEYBIND DEF=AMIGA
- #
- #FLAGS4 : additional options
- #FLAGS4= OPTIMIZE OptComp=0 OptInl OptInlocal Optsize
- #
- #DEBUG_FLAGS : define DEBUG for DEGUB usage
- #DEBUG_FLAGS= DEBUG=symbolflush
- #DEB_LD_FLAGS= ADDSYM
- #
- #FLAGS5 : link options for linker behaviour
- FLAGS5= BATCH
- #
- #FLAGS6 : library options
- FLAGS6= LIB LIB:sc.lib LIB LIB:amiga.lib LIB /lib/orilib.lib
-
- SCFLAGS= ResOpt $(FLAGS1) $(FLAGS2) $(FLAGS3) $(FLAGS4) $(DEBUG_FLAGS)
- LDFLAGS= $(FLAGS5) $(FLAGS6) $(DEB_LD_FLAGS)
-
- .c.o:
- $(SC) $(SCFLAGS) $*
-
- OBJS= codehelp.o keybind.o keytab.o messages.o misc.o msgname.o \
- name.o optmac.o parseasm.o parsecond.o parsemac.o parser.o \
- scanner.o set.o /amiga/src/keyfileio.o
-
- #{{{}}}
- #{{{ -> all
- all: keybind
- #}}}
-
- #{{{ keybind
- keybind: $(OBJS)
- $(slink) <WITH <
- from lib:c.o+$(OBJS)
- to keybind $(LDFLAGS)
- <
- #}}}
-
- #{{{ -> install
- install:
- copy keybind //bin
- #}}}
-
- #{{{ -> reset
- reset: clean
- -delete keybind smakefile
- #}}}
-
- #{{{ -> clean
- clean:
- -delete \#?.o \#?.lnk \#?.tmp \#?.info
- #}}}
-